<!DOCTYPE html>
<html>
    <head>
        <title>SISCO - Listado de proveedores</title>

        {include file="head_scripts.html"}
    </head>

    <body>

        {include file="header.html"}

        <div class="container">

                {include file="messages.html"}
                
                {if (true)}
<div id="" class="row">
	

                        {if (true)}
<div id="" class="span3">
	
                                {include file="inventario_sidebar.html"}
                            
</div>
{/if}

                        
                        {if (true)}
<div id="" class="span9">
	
                            	<legend >Listado de proveedores</legend>

								<a id="" name="" href="proveedores/create/" class='btn'>Agregar</a>


                                <table class="table table-bordered table-striped table-hover">
                                    <thead>
                                        <tr>
                                            <th>Nombre</th>
                                            <th>Direeción</th>
                                            <th>Acciones</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                    {foreach from=$proveedores item="proveedor"}
                                        <tr>
                                            <td>{$proveedor->nombre}</td>
                                            <td>{$proveedor->direccion}</td>
                                            <td class="span2">
                                                <a id="" name="" href="proveedores/update/{$proveedor->id}/" >Editar</a>

    
    
                                                <a id="" name="" href="proveedores/delete/{$proveedor->id}/" class='delete-confirm' data-delete_msg='¿Estás seguro que querés borrar este proveedor?'>Eliminar</a>

    
    
                                            </td>
                                        </tr>
                                    {/foreach}
                                    </tbody>
                                </table>
                        	
</div>
{/if} <!-- .span9 -->

                    
</div>
{/if} <!-- .row -->

                {include file="footer.html"}

        </div><!-- .container -->

        {include file="footer_scripts.html"}
        
    </body>
</html>